<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="renderer" content="webkit">
    <title>订单详情</title>
    <link rel="stylesheet" href="/src/font/iconfont.css">
    <link rel="stylesheet" href="/src/libs/bootstrap-3.3.5-dist/css/bootstrap.min.css">
    <link rel="stylesheet" href="/css/manage.css">
    <script id="script" src="/src/libs/require.min.js" defer async="true" require-module="./manage_order_receiveGoods"
            data-main="/src/js/config.js"></script>
    <!--[if lt IE 9]>
    <script src="/lib/html5shiv.min.js"></script>
    <script src="/lib/respond.min.js"></script>
    <![endif]-->
</head>

<body>
<!--include "../public/manage_sidebar.html"-->
<!--include "../public/manage_header.html"-->
<div class="container-wrap">
    <div class="bread-nav clearfix p-l-lg">
        <ol class="fl">
            <li class="fl text-333 text-basic"><a href="javascript:void(0);" onclick="window.history.go(-1);">商品订单&nbsp;&gt;&nbsp;</a>
            </li>
            <li class="fl active text-333 text-basic"><a href="javascript:void(0);">订单详情</a></li>
        </ol>
        <div class="fr">
            <a href="javascript:void(0);" class="btn btn-default m-r-lg text-basic"
               onclick="window.history.go(-1);">返回</a>
        </div>
    </div>
    <form class="form-horizontal" id="rePw" role="form">
        <div class="row">

            <h2 class="b-b text-md p-b-lg p-t-lg p-l-lg">配送信息</h2>

            <div id="logisticsInfo">

            </div>
            <script type="text/html" id="logisticsInfo-tpl">
                <table border="1" style="border: 1px; width: 80%;  ">
                    <tr>
                        <td>
                            联系人姓名
                        </td>
                        <td>{{obj.receive.contact}}</td>
                        <td>联系人电话</td>
                        <td>{{obj.receive.tel}}</td>
                    </tr>
                    <tr>
                        <td>送货地址</td>
                        <td>{{obj.receive.receiveProvince }}&nbsp; {{obj.receive.receiveCity}}&nbsp;
                            {{obj.receive.receiveCounty}}&nbsp; {{obj.receive.receiveAddress}}
                        </td>
                    </tr>
                    <tr>
                        <td>配送时间</td>
                        <td>{{obj.sendTime}}}</td>
                    </tr>
                </table>
            </script>

            <h2 class="b-b text-md p-b-lg p-t-lg p-l-lg">所选购商品</h2>

            <div class="table-responsive col-lg-11 col-lg-offset-1 row">
                <table class="table table-hover table-bordered m-t" style="width:500px">
                    <thead>
                    <tr>
                        <th class="font-normal text-basic" width="5%">序号</th>
                        <th class="font-normal text-basic" width="10%">商品名称</th>
                        <th class="font-normal text-basic" width="5%">购买数量（个）</th>
                    </tr>
                    </thead>
                    <tbody class="text-666" id="table-list-content">

                    </tbody>
                    <script type="text/html" id="table-list-tpl">
                        {{if obj.orderDetailsList.length==0 }}
                        <tr>
                            <td><span>无</span></td>
                            <td><span class="inline-block text-ellipsis text-basic">无</span></td>
                            <td><span class="inline-block text-ellipsis text-basic">无</span></td>
                        </tr>
                        {{else}} {{each obj.orderDetailsList as value i}}
                        <tr>
                            <td><span>{{i+1}}</span></td>
                            <td><span class="inline-block text-ellipsis text-basic">{{value.goodsName}}</span></td>
                            <td><span class="inline-block text-ellipsis text-basic">{{value.num}}</span></td>
                        </tr>
                        {{/each}} {{/if}}
                        <tr>
                            <td>备注说明</td>
                            <td>{{obj.sendTime}}}</td>
                        </tr>
                    </script>
                </table>
            </div>

        </div>
        <div class="modal-footer">
            <input type="button" value="取消" class="btn btn-primary m-l-lg" script="javascript();">
            <input type="button" value="确认收货" class="btn btn-primary m-l-lg" id="sub">
        </div>
    </form>
</div>
</body>
</html>
